package cn.tedu.boot01.entity;

public class Emp2 {
    private String name;
    private Double salA;
    private String jobA;

    public Emp2() {
    }

    public Emp2(String name, Double salA, String jobA) {
        this.name = name;
        this.salA = salA;
        this.jobA = jobA;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getSalA() {
        return salA;
    }

    public void setSalA(Double salA) {
        this.salA = salA;
    }

    public String getJobA() {
        return jobA;
    }

    public void setJobA(String jobA) {
        this.jobA = jobA;
    }

    @Override
    public String toString() {
        return "Emp2{" +
                "name='" + name + '\'' +
                ", salA=" + salA +
                ", jobA='" + jobA + '\'' +
                '}';
    }
}
